﻿using System.Windows.Controls;
using KinonekoSoftware.Platform.Windows;

namespace KinonekoSoftware.Studio.Pages.Shenanigans.Renderers
{

    [Associate(View = typeof(ChannelTalkingRenderer), ViewModel = typeof(ChannelTalkingRendererViewModel))]
    public partial class ChannelTalkingRenderer
    {
        public ChannelTalkingRenderer()
        {
            InitializeComponent();
        }
        
        private void Button_Snapshot(object sender, RoutedEventArgs e)
        {
            ScrollViewer.ScrollToHome();
            
            // TODO: 
            Shell.CaptureAsync(Container, 200);
        }
    }
}